package com.aios.action.door;

import com.aios.entity.mapper.DoorHasUsers;

public class DoorViewAction extends AbstractDoorAction {

	private static final long serialVersionUID = 1L;

	private DoorHasUsers doorRecord;

	public String execute() {
		doorRecord = doorService.findByIdWithUserGroup(id);
		setDoor(findById());
		return SUCCESS;
	}

	public DoorHasUsers getDoorRecord() {
		return doorRecord;
	}

	public void setDoorRecord(DoorHasUsers doorRecord) {
		this.doorRecord = doorRecord;
	}

}
